﻿<!--PC INpact App for Chrome™

	PC INpact App for Chrome™ est une application destinée au Chrome Web Store permettant d'acchéder à PC INpact.
	Elle dispose de fonctionnalités spécifiques, telles que la notification de nouvelles actualités, dossiers...

	Main author : LEGRAND David
	Mail : david@pcinpact.com
	
	Google Code Project : http://pci.im/code-pci-chrome 
	Forum : http://pci.im/forum-pci-chrome
	
    This file is part of PC INpact App for Chrome™.

    PC INpact App for Chrome™ is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    PC INpact App for Chrome™ is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with PC INpact App for Chrome™.  If not, see <http://www.gnu.org/licenses/>. 
 
    You're not allowed to use PC INpact App for Chrome™ name or logo without permission -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
	<head>
	<title>Notification - Titre</title>
	<link href="/css/notif.css" rel="stylesheet" type="text/css" />
	<script>	
		// La fonction qui récupère l'url à utiliser depuis l'adresse de la page
		function get_url()
		{
			var index = window.location.search.indexOf("&");
			return window.location.search.substring(4, index);
		}
	</script>
	</head>

	<body onClick='window.open("http://www.pcinpact.com/actu/news/" + get_url() + ".htm");'>
		<div>
			<img src="/pics/cible-pci-48.png" align="left" alt="Logo PCi"><strong>Alerte - News PCi</strong>
		</div>
		<div>
			<script>	
				// On récupère le titre via l'adresse de la page
				document.write(decodeURI(window.location.search.substring(window.location.search.indexOf("&") + 1)));
			</script>
		</div>
	</body>
</html>